package com.rmxx.fruit.activity;

import android.os.Handler;

import com.company.android.fruit.R;
import com.kwan.xframe.mvp.presenter.BasePresenter;
import com.kwan.xframe.mvp.view.activity.BaseActivity;

public class SplashActivity extends BaseActivity {



	@Override
	protected BasePresenter getBasePresenter() {
		return null;
	}

	@Override
	protected int getRootBottomViewId() {
		return 0;
	}

	@Override
	protected int getTitleBarViewId() {
		return 0;
	}

	@Override
	protected int getContentViewId() {
		return R.layout.activity_splash;
	}

	@Override
	protected void initViews() {

	}

	@Override
	protected void initViewSetting() {

	}

	@Override
	protected void initData() {

		new Handler().postDelayed(new Runnable() {
			@Override
			public void run() {
				go2Activity(LoginActivity.class,null,true);
			}
		},2000);

	}

	@Override
	public boolean isFullScreen() {
		return true;
	}

	@Override
	protected boolean isImmersionBarEnabled() {
		return false;
	}

	@Override
	protected String getTitleTxt() {
		return null;
	}

	@Override
	public String getPageName() {
		return null;
	}
}
